package com.dragon.backstage.constant;

/**
 * 登陆常量类
 *
 * @author dragon
 * @version 1.0
 * @date 2024/8/1 18:01
 */
public class LoginConstant {

    /**
     * session中保存验证码的名称
     */
    public final static String CAPTCHA_SESSION_NAME = "dragonAdmin-LoginCaptchaName";

    /**
     * 登陆用户 Redis key
     */
    public final static String USER_INFO_CACHE_KEY = "dragonAdmin-UserInfo:userId:%s";

    /**
     * 用户账号-昵称 Redis key
     */
    public final static String USER_ACCOUNT_NICK_NAME_CACHE_KEY = "dragonAdmin-UserInfo:accountNickName";

}
